Optimal. Leaf size=80 \[ \frac {d+e x}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}+\frac {4 x}{15 d^3 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {8 x}{15 d^5 \sqrt {d^2-e^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {653, 198, 197}
\begin {gather*} \frac {d+e x}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}+\frac {8 x}{15 d^5 \sqrt {d^2-e^2 x^2}}+\frac {4 x}{15 d^3 \left (d^2-e^2 x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 198
Rule 653
Rubi steps
\begin {align*} \int \frac {d+e x}{\left (d^2-e^2 x^2\right )^{7/2}} \, dx &=\frac {d+e x}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}+\frac {4 \int \frac {1}{\left (d^2-e^2 x^2\right )^{5/2}} \, dx}{5 d}\\ &=\frac {d+e x}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}+\frac {4 x}{15 d^3 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {8 \int \frac {1}{\left (d^2-e^2 x^2\right )^{3/2}} \, dx}{15 d^3}\\ &=\frac {d+e x}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}+\frac {4 x}{15 d^3 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {8 x}{15 d^5 \sqrt {d^2-e^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.29, size = 82, normalized size = 1.02 \begin {gather*} \frac {\sqrt {d^2-e^2 x^2} \left (3 d^4+12 d^3 e x-12 d^2 e^2 x^2-8 d e^3 x^3+8 e^4 x^4\right )}{15 d^5 e (d-e x)^3 (d+e x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.48, size = 90, normalized size = 1.12
method | result | size |
gosper | \(\frac {\left (e x +d \right )^{2} \left (-e x +d \right ) \left (8 e^{4} x^{4}-8 d \,e^{3} x^{3}-12 d^{2} e^{2} x^{2}+12 d^{3} e x +3 d^{4}\right )}{15 d^{5} e \left (-e^{2} x^{2}+d^{2}\right )^{\frac {7}{2}}}\) | \(77\) |
trager | \(\frac {\left (8 e^{4} x^{4}-8 d \,e^{3} x^{3}-12 d^{2} e^{2} x^{2}+12 d^{3} e x +3 d^{4}\right ) \sqrt {-e^{2} x^{2}+d^{2}}}{15 d^{5} \left (-e x +d \right )^{3} \left (e x +d \right )^{2} e}\) | \(79\) |
default | \(\frac {1}{5 e \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}+d \left (\frac {x}{5 d^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}+\frac {\frac {4 x}{15 d^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {3}{2}}}+\frac {8 x}{15 d^{4} \sqrt {-e^{2} x^{2}+d^{2}}}}{d^{2}}\right )\) | \(90\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 75, normalized size = 0.94 \begin {gather*} \frac {e^{\left (-1\right )}}{5 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {x}{5 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}} d} + \frac {4 \, x}{15 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {3}{2}} d^{3}} + \frac {8 \, x}{15 \, \sqrt {-x^{2} e^{2} + d^{2}} d^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 161 vs.
\(2 (65) = 130\).
time = 2.24, size = 161, normalized size = 2.01 \begin {gather*} \frac {3 \, x^{5} e^{5} - 3 \, d x^{4} e^{4} - 6 \, d^{2} x^{3} e^{3} + 6 \, d^{3} x^{2} e^{2} + 3 \, d^{4} x e - 3 \, d^{5} - {\left (8 \, x^{4} e^{4} - 8 \, d x^{3} e^{3} - 12 \, d^{2} x^{2} e^{2} + 12 \, d^{3} x e + 3 \, d^{4}\right )} \sqrt {-x^{2} e^{2} + d^{2}}}{15 \, {\left (d^{5} x^{5} e^{6} - d^{6} x^{4} e^{5} - 2 \, d^{7} x^{3} e^{4} + 2 \, d^{8} x^{2} e^{3} + d^{9} x e^{2} - d^{10} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 8.73, size = 604, normalized size = 7.55 \begin {gather*} d \left (\begin {cases} - \frac {15 i d^{4} x}{15 d^{11} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} - 30 d^{9} e^{2} x^{2} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} + 15 d^{7} e^{4} x^{4} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}} + \frac {20 i d^{2} e^{2} x^{3}}{15 d^{11} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} - 30 d^{9} e^{2} x^{2} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} + 15 d^{7} e^{4} x^{4} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}} - \frac {8 i e^{4} x^{5}}{15 d^{11} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} - 30 d^{9} e^{2} x^{2} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} + 15 d^{7} e^{4} x^{4} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}} & \text {for}\: \left |{\frac {e^{2} x^{2}}{d^{2}}}\right | > 1 \\\frac {15 d^{4} x}{15 d^{11} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} - 30 d^{9} e^{2} x^{2} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} + 15 d^{7} e^{4} x^{4} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}} - \frac {20 d^{2} e^{2} x^{3}}{15 d^{11} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} - 30 d^{9} e^{2} x^{2} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} + 15 d^{7} e^{4} x^{4} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}} + \frac {8 e^{4} x^{5}}{15 d^{11} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} - 30 d^{9} e^{2} x^{2} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} + 15 d^{7} e^{4} x^{4} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}} & \text {otherwise} \end {cases}\right ) + e \left (\begin {cases} \frac {1}{5 d^{4} e^{2} \sqrt {d^{2} - e^{2} x^{2}} - 10 d^{2} e^{4} x^{2} \sqrt {d^{2} - e^{2} x^{2}} + 5 e^{6} x^{4} \sqrt {d^{2} - e^{2} x^{2}}} & \text {for}\: e \neq 0 \\\frac {x^{2}}{2 \left (d^{2}\right )^{\frac {7}{2}}} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.59, size = 78, normalized size = 0.98 \begin {gather*} \frac {\sqrt {d^2-e^2\,x^2}\,\left (3\,d^4+12\,d^3\,e\,x-12\,d^2\,e^2\,x^2-8\,d\,e^3\,x^3+8\,e^4\,x^4\right )}{15\,d^5\,e\,{\left (d+e\,x\right )}^2\,{\left (d-e\,x\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________